package com.letoken.platform.repo.admin.res.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import software.amazon.ion.Decimal;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "查询充值提现-充值记录请求返回对象", description = "查询充值提现-充值记录请求返回对象")
public class QueryAppDepositListRes {


    @ApiModelProperty(name = "userId", value = "用户id")
    private String userId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "rechargeTime", value = "充值时间")
    private LocalDateTime rechargeTime;

    @ApiModelProperty(name = "tokenCurrency", value = "资产")
    private String tokenCurrency;

    @ApiModelProperty(name = "amount", value = "充值数量")
    private BigDecimal amount;

    @ApiModelProperty(name = "source", value = "类型")
    private String source;

    @ApiModelProperty(name = "address", value = "发送地址/ID")
    private String address;

    @ApiModelProperty(name = "sn", value = "流水号")
    private String sn;

    @ApiModelProperty(value = "接收地址/ID")
    private String toAddress;

}
